
<#list pageInfo.list as comment>
<li class="_j_citem" data-uid="${comment.uid}" data-username="${comment.uname}">
    <a href="/mine/home?id=${comment.uid}" class="photo"><img src="${comment.img}" width="32px" height="32px"></a>
    <a href="" class="user">${comment.uname}</a>
    <a href="" class="level">LV.${comment.fromLevel!1}</a>
    <a class="_j_reply" data-username="${comment.uname}">回复</a>
    <span class="date">${(comment.time?string('yyyy-MM-dd HH:mm:ss'))!}</span>
        <p>${comment.comment}</p>
</li>
</#list>
<#--<#include "../common/page.ftl">-->

<script>
    $('._j_reply').click(function () {
        var username = $(this).data('username');
        console.log(username);
        $('#textarea').val('回复'+username+':');
    })
</script>